package com.yixing.tech.common.base;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author yixing tech
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class Page<T> {

    private List<T> data;
    private int pageSize;
    private int pageNo;
    private long totalCount;

    public int getPageNo() {
        return pageNo;
    }
}
